addAction
open fun addAction(@NonNull action: NotificationCompat.Action): NotificationCompat.WearableExtender(source)
Add a wearable action to this notification.
When wearable actions are added using this method, the set of actions that show on a wearable device splits from devices that only show actions added using addAction. This allows for customization of which actions display on different devices.
Return
this object for method chaining
Parameters
action
the action to add to this notification